<template>
	<view class="mainpadding2">
		<view class="mainpadding_top ffffff radius">
			<view class="flexleft">
				<image src="../../static/image/system/hujiaofw.png" mode="" class="leftmoveimg margin_right">
				</image>
				<view class="rightmove">
					<view class="titletext bold hei_text yihang">孤注一擲</view>
					<view class="xiaohui">可用日期：2023-23-32</view>
					<view class="flexbetween">
						<view class="xiaohui">數量：1張</view>
						<view class="main_size huang_text bold">
							<text class="xiaohui">總價</text>$238.00
						</view>
					</view>
				</view>
			</view>
		</view>
		<view class="mainpadding_top ffffff radius">
			<view class="flexbetween">
				<view class="hui_text main_size">訂單編號</view>
				<view  class="hui_text main_size">127897138</view>
			</view>
			<view class="flexbetween margin_top">
				<view class="hui_text main_size">連絡人</view>
				<view  class="hui_text main_size">張三</view>
			</view>
			<view class="flexbetween margin_top">
				<view class="hui_text main_size">聯繫電話</view>
				<view  class="hui_text main_size">185744223555</view>
			</view>
			<view class="flexbetween margin_top">
				<view class="hui_text main_size">創建時間</view>
				<view  class="hui_text main_size">2022-02-03</view>
			</view>
		</view>
		<view class="mainpadding posibottom" style="bottom: 0;">
			<view class="submitbtn" @click="submit">核銷</view>
		</view>
	</view>
</template>

<script>
	const httpRequest = require("@/common/httpRequest.js")
	export default {
		data() {
			return {

			}
		},
		methods: {
			submit(){
				httpRequest.modal('提示', '確定要核銷嗎？', true, (res) => {
					if (res) {
						// httpRequest.request('/api/index.php/v1/order/cancel', 'POST', {
						// 	id: id,
						// }).then(res => {
						// 	httpRequest.toast(res.msg)
						// 	this.init()
						// })
					}
				})
			},
		}
	}
</script>

<style>

</style>